.PHONY:all
all:chatserver chatclient

chatserver:ChatServer.cc
	g++ -o $@ $^ -std=c++14 -lpthread
chatclient:ChatClient.cc
	g++ -o $@ $^ -std=c++14 -lpthread

.PHONY:clean
clean:
	rm -rf chatserver chatclient